<template>
  <div class="home">
    <!-- 子路由必须写完整，也就是说要将父亲的和儿子的path进行拼接  -->
    <router-link to="/front">前端</router-link>
    <router-link to="/backend">后端</router-link>

    <section>
      <router-view></router-view>
    </section>
  </div>
</template>

<script>

export default {
  name: 'HomeView',
  components: {
  }
}
</script>

<style>
section {
  height: 300px;
  background-color: skyblue;
}
</style>
